package com.alibaba.citrus.ots.platform.enhance.api.scitem.unit;

import com.alibaba.citrus.ots.platform.enhance.dto.api.request.CreateScItemUnitRequest;
import com.alibaba.citrus.ots.platform.enhance.dto.api.request.EditScItemUnitRequest;
import com.alibaba.citrus.ots.platform.enhance.dto.api.request.IdQueryRequest;
import com.alibaba.citrus.ots.platform.enhance.dto.api.request.QueryScItemUnitRequest;
import com.alibaba.citrus.ots.platform.enhance.dto.api.response.ScItemUnitResponse;
import com.alibaba.citrus.ots.platform.enhance.sdo.ScItemUnitSDO;
import com.epoch.app.otsplatformenhance.model.dto.ScItemSDO;
import com.alibaba.cz.base.tool.page.PageResult;
import com.alibaba.cz.base.tool.result.Result;

import java.util.List;

/**
 * @author zls
 * @description: 单位库接口
 * @date 2021/9/10 15:30
 */
public interface ScItemUnitWriteService {

    /**
     * 创建单位库
     * @param scItemUnitSDO
     * @return
     */
    Result<String> createScItemUnit(ScItemUnitSDO scItemUnitSDO);

    /**
     * 编辑单位库
     *
     * @param scItemUnitSDO
     * @return
     */
    Result<Boolean> editScItemUnit(ScItemUnitSDO scItemUnitSDO);

}
